﻿#include <QCoreApplication>
#include "websocketclient.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    // WebSocket 服务端的 URL，使用 ws://localhost:1234 连接本地服务器
    QUrl url(QStringLiteral("ws://localhost:1234"));
    WebSocketClient client(url);

    return a.exec();
}
